<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="keywords" content="粥员外,粥店加盟,粥铺加盟,粥屋加盟,养生粥加盟,粥员外加盟费">
    <meta name="description" content="粥员外是粥店加盟10大品牌之一的连锁品牌，外卖粥铺加盟更具人气的品牌，粥店加盟政策、粥屋加盟费、上粥员外加盟总部，念着你，暖着你！">
    <title>粥员外</title>
    <link rel=icon type=image/x-icon href=./public/favicon.ico>
    <!-- 重置页面 -->
    <link rel="stylesheet" href="./css/base.css">
    <!-- 当页面的css -->
    <link rel="stylesheet" href="./css/index.css">
    <link rel="stylesheet" href="./css/common.css">
    <!-- layui.css -->
    <link rel="stylesheet" href="./lib/layui/css/layui.css">
    <!-- swiper -->
    <link rel="stylesheet" href="./lib/swiper/swiper.min.css">
    <script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
</head>
<body>

<!-- 导航 -->
<header class="">
    <h1 class="">
        <a href="/">
            <img src="./images/index/logo.png" alt="">
        </a>
    </h1>

    <ul class="layui-nav tab-nav" lay-filter="">
        <li class="layui-nav-item layui-this"><a href="/">首页</a></li>
        <li class="layui-nav-item">
            <a href="./introduce.html">关于我们</a>
            <dl class="layui-nav-child"> <!-- 二级菜单 -->
                <dd><a href="./introduce.html">公司介绍</a></dd>
                <dd><a href="./introduce.html">品牌理念</a></dd>
                <dd><a href="./introduce.html">品牌力量</a></dd>
                <dd><a href="./introduce.html">形象展示</a></dd>
            </dl>
        </li>
        <li class="layui-nav-item">
            <a href="./product.html">产品中心</a>
            <dl class="layui-nav-child"> <!-- 二级菜单 -->
                <dd><a href="./product.html">香浓甜粥</a></dd>
                <dd><a href="./product.html">软糯咸粥</a></dd>
                <dd><a href="./product.html">美味小食</a></dd>
            </dl>
        </li>
        <li class="layui-nav-item">
            <a href="./join.html">加盟指南</a>
            <dl class="layui-nav-child"> <!-- 二级菜单 -->
                <dd><a href="./join.html">加盟流程</a></dd>
                <dd><a href="./join.html">加盟支持</a></dd>
            </dl>
        </li>
        <li class="layui-nav-item"><a href="./news.html">品牌新闻</a></li>
        <li class="layui-nav-item"><a href="./contact.html">联系我们</a></li>
    </ul>


    <div class="phone">
        <img src="./images/index/phone.png" alt="">
        <p>
            <i>创业请咨询</i>
            <i>400-999-8017</i>
        </p>
    </div>
</header>

<!-- 轮播图 -->
<div class="swiper-container my-banner">
    <div class="swiper-wrapper">
        <div class="swiper-slide">
            <a href="javascript:void(0);">
                <img src="./images/index/banner01.jpg" alt="">
            </a>
        </div>
        <div class="swiper-slide">
            <a href="javascript:void(0);">
                <img src="./images/index/banner01.jpg" alt="">
            </a>
        </div>
        <div class="swiper-slide">
            <a href="javascript:void(0);">
                <img src="./images/index/banner01.jpg" alt="">
            </a>
        </div>
    </div>

    <!-- 如果需要导航按钮 -->
    <div class="swiper-button-prev" style="display: none"></div>
    <div class="swiper-button-next" style="display: none"></div>

</div>
<!-- 如果需要滚动条 -->
<div class="swiper-scrollbar"></div>

<!-- 视频 -->
<div class="video-box">
    <div class="w video-par">
        <div class="video">
            <video src="./media/0_0.mp4" controls autoplay loop></video>
        </div>
    </div>
</div>

<!-- 品牌 -->
<div class="brand">
    <a href="javascript:void(0);">
        <img src="./images/index/main01.jpg" alt="">
    </a>
</div>

<!-- 美食 -->
<div class="delicious">
    <div class="w d-box clearfix">
        <!-- 左边 -->
        <div class="db-left fl">
            <h2></h2>
            <ul class="dbl-nav">
                <!--<li>-->
                <!--<a href="javascript:void(0);">-->
                <!--<img src="images/index/join_news01.png" alt="">-->
                <!--</a>-->
                <!--</li>-->
                <!--<li>-->
                <!--<a href="javascript:void(0);">-->
                <!--<img src="images/index/join_news01.png" alt="">-->
                <!--</a>-->
                <!--</li>-->
                <!--<li>-->
                <!--<a href="javascript:void(0);">-->
                <!--培训体系门外汉变达人，通过严谨-->
                <!--培训体系门外汉变达人，通过严谨-->
                <!--</a>-->
                <!--</li>-->
                <!--<li>-->
                <!--<a href="javascript:void(0);">-->
                <!--培训体系门外汉变达人，通过严谨-->
                <!--培训体系门外汉变达人，通过严谨-->
                <!--</a>-->
                <!--</li>-->
                <!--<li>-->
                <!--<a href="javascript:void(0);">-->
                <!--培训体系门外汉变达人，通过严谨-->
                <!--培训体系门外汉变达人，通过严谨-->
                <!--</a>-->
                <!--</li>-->
            </ul>
        </div>
        <!-- 右边 -->
        <div class="db-right fr">
            <!-- 标题 -->
            <div class="dbr-title">
                <img src="./images/index/delicious_title.png" alt="">
            </div>
            <!-- logo -->
            <div class="dbr-logo">
                <img src="./images/index/delicious_logo.png" alt="">
            </div>

            <div class="left-box fl">
                <ul class="par-nav">
                    <li class="pn-active" data-index="1">香浓甜粥</li>
                    <li data-index="2">软糯咸粥</li>
                    <li data-index="3">美味小食</li>
                </ul>
            </div>

            <ul class="right-nav fl">
                <li>
                    <ul>
                        <li>
                            <img src="./images/index/nav12.jpg" alt="">
                            <p class="hide p-top">
                                <i>红豆薏米粥</i>
                            </p>
                        </li>
                        <li>
                            <img src="./images/index/nav13.jpg" alt="">
                            <p class="hide">
                                <i>桂圆红枣薏米粥</i>
                            </p>
                        </li>
                        <li>
                            <img src="./images/index/nav14.jpg" alt="">
                            <p class="hide">
                                <i>山药红枣粥</i>
                            </p>
                        </li>
                        <li>
                            <img src="./images/index/nav15.jpg" alt="">
                            <p class="hide">
                                <i>紫薯黑米粥</i>
                            </p>
                        </li>
                    </ul>
                </li>
                <li class="hide">
                    <ul>
                        <li>
                            <img src="./images/index/nav22.jpg" alt="">
                            <p class="hide p-top">
                                <i>皮蛋瘦肉粥</i>
                            </p>
                        </li>
                        <li>
                            <img src="./images/index/nav23.jpg" alt="">
                            <p class="hide">
                                <i>鲜香酥肉粥</i>
                            </p>
                        </li>
                        <li>
                            <img src="./images/index/nav24.jpg" alt="">
                            <p class="hide">
                                <i>美味海鲜粥</i>
                            </p>
                        </li>
                        <li>
                            <img src="./images/index/nav25.jpg" alt="">
                            <p class="hide">
                                <i>菠菜牛肉粥</i>
                            </p>
                        </li>
                    </ul>
                </li>
                <li class="hide">
                    <ul>
                        <li>
                            <img src="./images/index/nav32.jpg" alt="">
                            <p class="hide p-top">
                                <i>香芋地瓜丸</i>
                            </p>
                        </li>
                        <li>
                            <img src="./images/index/nav33.jpg" alt="">
                            <p class="hide">
                                <i>黄金南瓜饼</i>
                            </p>
                        </li>
                        <li>
                            <img src="./images/index/nav34.jpg" alt="">
                            <p class="hide">
                                <i>肉松鸡蛋饼</i>
                            </p>
                        </li>
                        <li>
                            <img src="./images/index/nav35.jpg" alt="">
                            <p class="hide">
                                <i>特色煎饺</i>
                            </p>
                        </li>
                    </ul>
                </li>
            </ul>

        </div>
    </div>
</div>

<!-- 加盟案例 -->
<div class="join">
    <h2></h2>
    <div class="swiper-container join-banner">
        <div class="swiper-wrapper">
            <div class="swiper-slide">
                <a href="javascript:void(0);">
                    <img src="./images/index/join1.png" alt="">
                </a>
            </div>
            <div class="swiper-slide">
                <a href="javascript:void(0);">
                    <img src="./images/index/join1.png" alt="">
                </a>
            </div>
            <div class="swiper-slide">
                <a href="javascript:void(0);">
                    <img src="./images/index/join1.png" alt="">
                </a>
            </div>
            <div class="swiper-slide">
                <a href="javascript:void(0);">
                    <img src="./images/index/join1.png" alt="">
                </a>
            </div>
            <div class="swiper-slide">
                <a href="javascript:void(0);">
                    <img src="./images/index/join1.png" alt="">
                </a>
            </div>
            <div class="swiper-slide">
                <a href="javascript:void(0);">
                    <img src="./images/index/join1.png" alt="">
                </a>
            </div>
        </div>
        <!-- 如果需要导航按钮 -->
        <div class="swiper-button-prev swiper-button-white"></div>
        <div class="swiper-button-next swiper-button-white"></div>
    </div>
</div>

<!-- 新闻 -->
<div class="news">

    <div class="w clearfix">
        <!-- 固定的大盒子 -->
        <div class="news-box-big fl">
            <a href="javascript:void(0);">
                <img src="./images/index/news01.jpg" alt="">
                <p>
                    <i>夏日送清凉</i>
                    <i>粥员外夏日新品重磅推出，春光不在，不要让肉肉还在，点粥...</i>
                    <i>2019/06/15</i>
                </p>
            </a>
        </div>

        <!-- 轮播新闻 -->
        <div class="swiper-container news-banner">
            <div class="swiper-wrapper">
                <div class="swiper-slide">
                    <div class="news-box-small fl">
                        <a href="javascript:void(0);">
                            <img src="./images/index/news02.jpg" alt="">
                            <p>
                                <i>夏日送清凉</i>
                                <i>粥员外夏日新品重磅推出，春光不在，不要让肉肉还在，点粥...</i>
                                <i>2019/06/15</i>
                            </p>
                        </a>
                    </div>
                </div>

                <div class="swiper-slide">
                    <div class="news-box-small fl">
                        <a href="javascript:void(0);">
                            <img src="./images/index/news03.jpg" alt="">
                            <p>
                                <i>夏日送清凉</i>
                                <i>粥员外夏日新品重磅推出，春光不在，不要让肉肉还在，点粥...</i>
                                <i>2019/06/15</i>
                            </p>
                        </a>
                    </div>
                </div>

                <div class="swiper-slide">
                    <div class="news-box-small fl">
                        <a href="javascript:void(0);">
                            <img src="./images/index/news04.jpg" alt="">
                            <p>
                                <i>夏日送清凉</i>
                                <i>粥员外夏日新品重磅推出，春光不在，不要让肉肉还在，点粥...</i>
                                <i>2019/06/15</i>
                            </p>
                        </a>
                    </div>
                </div>

                <div class="swiper-slide">
                    <div class="news-box-small fl">
                        <a href="javascript:void(0);">
                            <img src="./images/index/news04.jpg" alt="">
                            <p>
                                <i>夏日送清凉</i>
                                <i>粥员外夏日新品重磅推出，春光不在，不要让肉肉还在，点粥...</i>
                                <i>2019/06/15</i>
                            </p>
                        </a>
                    </div>
                </div>

                <div class="swiper-slide">
                    <div class="news-box-small fl">
                        <a href="javascript:void(0);">
                            <img src="./images/index/news04.jpg" alt="">
                            <p>
                                <i>夏日送清凉</i>
                                <i>粥员外夏日新品重磅推出，春光不在，不要让肉肉还在，点粥...</i>
                                <i>2019/06/15</i>
                            </p>
                        </a>
                    </div>
                </div>

                <div class="swiper-slide">
                    <div class="news-box-small fl">
                        <a href="javascript:void(0);">
                            <img src="./images/index/news04.jpg" alt="">
                            <p>
                                <i>夏日送清凉</i>
                                <i>粥员外夏日新品重磅推出，春光不在，不要让肉肉还在，点粥...</i>
                                <i>2019/06/15</i>
                            </p>
                        </a>
                    </div>
                </div>

                <div class="swiper-slide">
                    <div class="news-box-small fl">
                        <a href="javascript:void(0);">
                            <img src="./images/index/news04.jpg" alt="">
                            <p>
                                <i>夏日送清凉</i>
                                <i>粥员外夏日新品重磅推出，春光不在，不要让肉肉还在，点粥...</i>
                                <i>2019/06/15</i>
                            </p>
                        </a>
                    </div>
                </div>
            </div>
        </div>

        <!-- 如果需要导航按钮 -->
        <div class="swiper-button-prev swiper-button-prev1"></div>
        <div class="swiper-button-next swiper-button-next1"></div>

    </div>

</div>

<!-- 表单 -->
<div class="form-box">
    <h2>

    </h2>
    <div class="w">
        <img src="./images/index/qrcode.png" alt="" class="qrcode fl">

        <form action="" class="layui-form w mb-form fl">
            <span>
                <input type="text" placeholder="请输入姓名" class="layui-input" name="username" lay-verify="username">
                <input type="text" placeholder="请输入联系方式" class="layui-input" name="phone" lay-verify="required|phone">
            </span>
            <textarea name="address" placeholder="请输入所在地区" class="layui-textarea"></textarea>
            <button lay-submit lay-filter="go" class="botton-btn"></button>
        </form>

        <div class="form-logo fr">
            <img src="./images/index/form_logo.png" alt="">
        </div>
    </div>
</div>

<footer>
    <div class="footer-top">
        <div class="w">
            <div class="footer-logo">
                <img src="./images/index/footer_logo.png" alt="">
            </div>
            <ul class="footer-nav">
                <li>
                    <a href="#" class="f-active">
                        首页
                    </a>
                </li>
                <li>
                    <a href="./introduce.html">
                        关于我们
                    </a>
                </li>
                <li>
                    <a href="./product.html">
                        产品中心
                    </a>
                </li>
                <li>
                    <a href="./join.html">
                        加盟指南
                    </a>
                </li>
                <li>
                    <a href="./news.html">
                        品牌新闻
                    </a>
                </li>
                <li>
                    <a href="./contact.html">
                        联系我们
                    </a>
                </li>
            </ul>
            <div class="footer-phone">
                <img src="./images/index/phone.png" alt="">
                <p>
                    <i>创业请咨询</i>
                    <i>400-999-8017</i>
                </p>
            </div>
        </div>
    </div>

    <hr>

    <div class="footer-bottom">
        <div class="w clearfix">
            <p class="fl">Copyright © 2019 版权所有 粥员外 浙ICP备17052793号</p>
            <ul class="fr">
                <li>友情链接：</li>
                <li>
                    <a href="javascript:void(0);">
                        粥店加盟
                    </a>
                </li>
                <li>
                    <a href="javascript:void(0);">
                        麻辣烫加盟
                    </a>
                </li>
                <li>
                    <a href="javascript:void(0);">
                        炒饭加盟
                    </a>
                </li>
                <li>
                    <a href="javascript:void(0);">
                        孔掌柜薄皮馄饨加盟
                    </a>
                </li>
                <li>
                    <a href="javascript:void(0);">
                        孔掌柜薄皮馄饨加盟
                    </a>
                </li>
                <li>
                    <a href="javascript:void(0);">
                        孔掌柜薄皮馄饨加盟
                    </a>
                </li>
                <li>
                    <a href="javascript:void(0);">
                        孔掌柜薄皮馄饨加盟
                    </a>
                </li>
                <li>
                    <a href="javascript:void(0);">
                        孔掌柜薄皮馄饨加盟
                    </a>
                </li>
                <li>
                    <a href="javascript:void(0);">
                        孔掌柜薄皮馄饨加盟
                    </a>
                </li>
            </ul>
        </div>
    </div>

</footer>

<script type="text/temp" id="news">
                <li>
                    <a href="javascript:void(0);">
                        <img src="images/index/join_news01.png" alt="">
                    </a>
                </li>

                <li>
                    <a href="javascript:void(0);">
                        <img src="images/index/join_news01.png" alt="">
                    </a>
                </li>

<% for (var i = 0 ; i < n.length; i++){ %>
     <li>
        <a href="javascript:void(0);">
          <%=n[i].name %>
        </a>
     </li>
     <% } %>


                <!--<li>-->
                    <!--<a href="javascript:void(0);">-->
                        <!--培训体系门外汉变达人，通过严谨-->
                        <!--培训体系门外汉变达人，通过严谨-->
                    <!--</a>-->
                <!--</li>-->




</script>

<!-- axios -->
<script src="./lib/axios/axios.min.js"></script>
<!-- jq -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<!-- art-template -->
<script src="./lib/art-template/template-native.js"></script>
<!-- layui.js -->
<script src="./lib/layui/layui.js"></script>
<!-- swiper -->
<script src="./lib/swiper/swiper.min.js"></script>
<script src="./js/index/index.js"></script>

<script>
    $(function () {

        // $.get({
        //     url: "http://api.wangshuwen.com/getRegion",
        //     dataType: "json",
        //     success: res => {
        //         console.log(res)
        //         var data1 = res.data
        //         var html = template("news", data1)
        //         console.log(html)
        //     }
        // })

        axios.get("http://api.wangshuwen.com/getRegion")
            .then(res => {
                // console.log(res)
                var news = res.data.data;
                // console.log(news);

                var html = template("news",{ n:news});
                // console.log(html);
                $(".dbl-nav").html(html)
            })

    });
</script>
</body>
</html>
